package com.design.patterns.decorator;

public class SausageBattercate extends AbstractDecorator {
    public SausageBattercate(ABattercate aBattercate) {
        super(aBattercate);
    }

    @Override
    protected String getDesc() {
        return super.getDesc() + "加一根香肠";
    }

    @Override
    protected int cost() {
        return super.cost() + 2;
    }
}
